package com.yx.entity;


import java.util.List;

public class Subject {

  private Integer id;
  private String name;
  private Integer grad;

  @Override
  public String toString() {
    return "Subject{" +
            "id=" + id +
            ", name='" + name + '\'' +
            ", grad=" + grad +
            '}';
  }

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }


  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }


  public Integer getGrad() {
    return grad;
  }

  public void setGrad(Integer grad) {
    this.grad = grad;
  }

}
